package com.cy.stone.system.domain.clientobject.role;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

/**
 * @author Wings
 * @since 2023-12-10
 */
@Data
@Schema(name = "菜单")
public class MenuCO {

    @Schema(description = "菜单ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "菜单ID不能为空")
    private String menuId;

    @Schema(description = "菜单码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "菜单码不能为空")
    private String menuCode;
}
